/*
 * Copyright 2020 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import 'common';

/**
 * scheme: "Gruvbox dark, medium"
 * author: "Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)"
 */
body[kui-theme='Gruvbox'] {
  @include kui-patternfly-alignment-dark;
  @include InvertColorsForTerminal;

  --color-base00: #282828;
  --color-base01: #3c3836;
  --color-base02: #504945;
  --color-base03: hsl(27, 10%, 25%); /* dialed L from 36% #665c54 */
  --color-base04: #8e7b57; /* hsl(39, 24%, 45%), which is dialed with L from 66% #bdae93 */
  --color-base05: hsl(40, 38%, 80%); /* dialed L from 73% #d5c4a1 */
  --color-base06: #ebdbb2;
  --color-base07: #fbf1c7;
  --color-base08: #fb4934;
  --color-base09: #fe8019;
  --color-base0A: #fabd2f;
  --color-base0B: #b8bb26;
  --color-base0C: #8ec07c;
  --color-base0D: hsl(157, 16%, 70%); /* dialed L from 58% #83a598 */
  --color-base0E: #{lighten(#d3869b, 10%)};
  --color-base0F: #d65d0e;

  --color-base08-rgb: 251, 73, 52;
  --color-red-rgb: var(--color-base08-rgb);

  --color-base0B-rgb: 184, 187, 38;
  --color-green-rgb: var(--color-base0B-rgb);

  --color-base0D-rgb: 166, 191, 181;
  --color-blue-rgb: var(--color-base0D-rgb);

  --color-base0A-rgb: 250, 189, 47;
  --color-yellow-rgb: var(--color-base0A-rgb);

  --color-latency-0: #1b7837;
  --color-latency-1: #7fbf7b;
  --color-latency-2: #d9f0d3;
  --color-latency-3: #e7d4e8;
  --color-latency-4: #af8dc3;
  --color-latency-5: #762a83;

  --color-error-cell-bg: var(--color-base0E);
  --color-error-cell-text: var(--color-base00);
}
